<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>kvue</title>
</head>

<body>
  <div id="app">
    <div class="box1" @click="onClick">click me !!{{count}}</div>
    <div class="box2" k-text="count"></div>
    <div class="box3" k-html="desc"></div>
    <input k-model="desc" />
  </div>
  <script type="module">
    import { Kvue } from './index.js'
    const app = new Kvue({
      el: '#app',
      data: {
        count: 123,
        desc: '<h1>xjh</h1>'
      },
      methods: {
        onClick() {
          this.count++ 
        }
      },
    })
    // setInterval(() => {
    //   app.count++
    // }, 2000)
  </script>
</body>

</html>